package com.jeff.serviceImpl;

import com.jeff.mapper.AdminMapper;
import com.jeff.po.User;
import com.jeff.service.AdminService;
import com.jeff.vo.AdminLoginVo;
import com.jeff.vo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl extends BaseServiceImpl<User, String> implements AdminService {
	@Autowired
	private AdminMapper adminMapper;
	public Admin login(AdminLoginVo adminLoginVo) {
		return adminMapper.login(adminLoginVo);
	}

	@Override
	public int changePassword(User user) {
		return adminMapper.changePassword(user);
	}

}
